// initialize
global.current_floor = global.start_floor + 1
global.elevator_state = 'moving'
global.opening_speed = 80 / (global.opening_time * 30)
global.closing_speed = 80 / (global.closing_time * 30)
global.walking_speed = 88 / 30
global.stink = 0
global.stink_recover_per_step = global.stink_recover / 30
global.new_comers = 0
global.new_comers_count = 0
global.npc_count = 0
global.alpha_diminishing = 1 / (global.flying_time * 30)
global.ghost_count = 0
global.game_state = 'pausing'


// obj_control creation
instance_create(160, 392, obj_player)
with (obj_control)
{
    alarm[0] = 30
}
